CLSID Key

A CLSID is a globally unique identifier that identifies an OLE class object. If your server or container allows linking to its embedded objects, then you need to register a CLSID for each supported class of objects.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID =  <CLSID>

Value Entries

<CLSID>

Specifies a name that can be displayed in the user interface.

 

Remarks

The CLSID key contains information used by the default OLE handler to return information about a class when it is in the running state.

To obtain a CLSID for your application, you can use the UUIDGEN.EXE found in the \TOOLs directory of the OLE 2 Toolkit, or use CoCreateGuidD6K8D7.

The CLSID is a 128 bit number, spelled in hex, within a pair of brarces.

SubKeys and Named Values

\CLSID = <CLSID>

    \<CLSID>

Human readable name

        \AppID1MZCVY7

Application identifiers

        \AutoConvertToRE0W1S

Automatic object class conversion

        \AutoTreatAsFX5RVC

Assigns the TreatAs value.

        \AuxUserType2JWESU

Identifies object as a control

        \Control9E1.ZS

Displayable application name.

        \Conversion19ILOBQ

Conversion used by the Convert dialog

        \DataFormatsHMH4UE

Formats supported by applications.

        \DefaultIconZX7PW5

Provides default icon information

        \InprocHandlerSP2CBN

Registers a 16-bit handler DLL.

        \InprocHandler321FQ.MM5

Registers a 32-bit handler DLL.

        \InprocServerCA9G7N

Registers a 16-bit in-process server DLL

        \InprocServer32GQ2O6E

Registers a 32-bit in-process server DLL

        \Insertable5BOGY

Indicates object is insertable in OLE 2 applications

        \Interface1XJPECS

Associates interface name with IID

        \LocalServer2DJLZK0

Full path to a 16- or 32-bit application

        \LocalServer32F3ATSG

Full path to a  32-bit application

        \MiscStatus450R8Z

Default status used for all aspects

        \ProgID2GQ6_HW

Programmatic identifier for a class

        \ToolBoxBitmap321I0DFLP

Module name and resourdeID for a 16 x 16 bitmap

        \TreatAs.UJJ3M

OlLE1 / OLE 2 compatibility.

        \VerbJWO_96

Verbs associated with an application

        \Version4O26_I2

Version number of the control

 

See Also

CoCreateGuid